package com.tongqin.distributed;

import java.io.Serializable;

/**
 * @author yuantongqin
 * @date 2018/7/9 下午3:42
 */
public class RpcRequest implements Serializable{

    private static final long serialVersionUID = 84491380722838354L;
    /**
     * 当前调用的是哪个方法，方法的参数是什么
     * 请求对象有什么东西，请求的方法，端口号以及参数
     */

    private String className;
    private String methodName;
    private Object[] params;

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public String getMethodName() {
        return methodName;
    }

    public void setMethodName(String methodName) {
        this.methodName = methodName;
    }

    public Object[] getParams() {
        return params;
    }

    public void setParams(Object[] params) {
        this.params = params;
    }
}
